import request from '@/utils/request'

// 查询工艺设计穿综筘表列表
export function listGy_looming(query) {
  return request({
    url: '/gongyi/gy_looming/list',
    method: 'get',
    params: query
  })
}

// 查询工艺设计穿综筘表详细
export function getGy_looming(id) {
  return request({
    url: '/gongyi/gy_looming/' + id,
    method: 'get'
  })
}

// 新增工艺设计穿综筘表
export function addGy_looming(data) {
  return request({
    url: '/gongyi/gy_looming',
    method: 'post',
    data: data
  })
}

// 修改工艺设计穿综筘表
export function updateGy_looming(data) {
  return request({
    url: '/gongyi/gy_looming',
    method: 'put',
    data: data
  })
}

// 删除工艺设计穿综筘表
export function delGy_looming(id) {
  return request({
    url: '/gongyi/gy_looming/' + id,
    method: 'delete'
  })
}

// 导出工艺设计穿综筘表
export function exportGy_looming(query) {
  return request({
    url: '/gongyi/gy_looming/export',
    method: 'get',
    params: query
  })
}